<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
    <script>
        $.ajax({
            url:'http://localhost:3000',
            method:'POST',
            data:{
                a:'1111',
                b:'2222'
            },
            success: function( res ){
                console.log('res===>',res)
            },
            error: function( err ){
                console.log('err===>',err)
            }
        })
    </script>
</body>
</html>